@import '../../../index.scss';

.container {
  padding-bottom: 140rpx;

  .banner {
    // width: 100%;
    // margin: 30rpx;
    height: 100vw;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;

    .swiper {
      width: 100%;
      height: 100%;

      image {
        width: 100%;
        height: 100%;
        background-color: #f8f8f8;
      }
    }

    .tips {
      position: absolute;
      right: 40rpx;
      bottom: 40rpx;
      width: 50rpx;
      height: 25rpx;
      background-color: rgba($color: #313E48, $alpha: 0.4);
      font-size: 20rpx;
      color: #fff;
      justify-content: center;
      align-items: center;
      display: flex;
      border-radius: 100px;
    }
  }

  .box {
    .topScol {
      white-space: nowrap;
      padding: 10rpx 0;

      .item {
        display: inline-block;
        text-align: center;
        // width: 110rpx;
        margin-right: 10rpx;

        &:first-child {
          margin-left: 10rpx;
        }

        .cover {
          width: 170rpx;
          height: 170rpx;
          overflow: hidden;
          background-color: #f8f8f8;

          &.active {
            image {
              opacity: 1;
            }
          }

          image {
            width: 100%;
            height: 100%;
            opacity: .3;
          }
        }

      }
    }


  }

  .detail {
    padding: 40rpx 30rpx;
    box-sizing: border-box;

    .tips {
      display: flex;
      justify-content: space-between;

      .classify {
        font-size: 28rpx;
        color: #888;
        font-weight: bold;
      }

      .price {
        font-size: 28rpx;
        color: #000;
        font-weight: bold;
      }
    }

    .title {
      width: 80%;
      font-size: 46rpx;
      font-weight: bold;
      padding-top: 30rpx;
    }

    .desc {
      font-size: 28rpx;
      color: #787878;
      line-height: 1.6;
      padding: 40rpx 0;

    }

    .share {
      display: flex;
      padding: 50rpx 0 70rpx 0;

      .item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-right: 40rpx;

        .icon {
          width: 44rpx;
          height: 44rpx;
        }

        .name {
          font-size: 24rpx;
          padding-top: 10rpx;
        }
      }
    }


  }

  .particulars {
    image {
      width: 100%;
      display: block;
    }
  }

  .botton-fiexd {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 120rpx;
    background-color: rgba($color: #fff, $alpha: 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rpx 0 30rpx 0;
    border-top: 1px solid #f8f8f8;

    .left {
      display: flex;
      // padding: 0 20rpx;
      padding-left: 20rpx;

      .list {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        // margin: 0 20rpx;
        margin: 0 20rpx;
        position: relative;

        .icon {
          width: 44rpx;
          height: 44rpx;
        }

        .num {
          position: absolute;
          font-size: 20rpx;
          top: 16rpx;
          font-weight: bold;
          // background-color: red;
          padding-left: 6rpx;
          width: 100%;
          text-align: center;
        }

        .name {
          font-size: 22rpx;
          padding-top: 10rpx;
        }

        .btnButton {
          width: 100%;
          height: 100%;
          position: absolute;
          top: 0;
          left: 0;
          opacity: 0;
        }
      }


    }

    .right {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: space-evenly;

      .btn {
        padding: 24rpx 0;
        border: 1px solid #000;
        flex-basis: 45%;
        box-sizing: border-box;
        border-radius: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;

        &.buy {
          background-color: #000;
          color: #fff;
        }
      }
    }
  }
}

.confirmation {
  padding: 0 0 0rpx 0;
  box-sizing: border-box;

  .store {
    display: flex;
    padding: 40rpx 40rpx;

    .cover {
      width: 120rpx;
      height: 120rpx;
      margin-right: 20rpx;
      background-color: #f8f8f8;

      image {
        width: 100%;
        height: 100%;
      }
    }

    .right {
      flex: 1;

      .title {
        font-size: 28rpx;
        font-weight: bold;

      }
    }
  }

  .list {
    // padding-top: 40rpx;
    border-bottom: 1rpx solid #f0f0f0;

    .item {
      padding: 30rpx 40rpx;
      border-top: 1rpx solid #f0f0f0;
      // border-bottom: 1px solid #f8f8f8;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 60rpx;

      .label {
        font-size: 28rpx;
        font-weight: bold;
      }

      .box {
        display: flex;
        align-items: center;

        .add {
          width: 20rpx;
          height: 20rpx;

        }

        .txt {
          font-size: 26rpx;
          color: #ccc;
          padding-right: 30rpx;

          &.price {
            color: #000;
            padding-right: 44rpx;
            font-size: 28rpx;
            font-weight: bold;
          }
        }

        .address {
          font-size: 26rpx;
          color: #ccc;
          padding-right: 20rpx;
        }
      }
    }


  }

  .btn {
    background-color: #ccc;
    margin: 40rpx;
    height: 100rpx;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28rpx;
    color: #fff;

    &.active {
      background-color: #000;
    }
  }
}

.address {
  padding: 30rpx;
  padding-bottom: 60rpx;

  .title {
    font-size: 26rpx;
    font-weight: bold;
    padding: 20rpx 0;

  }

  .list {
    .item {
      display: flex;
      align-items: center;
      padding: 10rpx 0;

      .middel {
        flex: 1;

        .name {
          font-size: 32rpx;
          font-weight: bold;
          padding-bottom: 4rpx;

        }

        .phone {
          font-size: 28rpx;
          color: #000;
        }

        .city {
          color: #999;
          font-size: 26rpx;
        }

        .desc {
          color: #999;
          font-size: 26rpx;
        }
      }

      .edit {
        font-size: 24rpx;
        text-decoration: underline;
        color: red;
      }

    }
  }

  .btn {
    padding: 30rpx 20rpx;
    border: 1px solid #666;
    margin-top: 30rpx;
    border-radius: 100px;
    text-align: center;
    font-weight: bold;

    &.active {
      background-color: #000;
      color: #fff;
    }
  }

}